package de.tsystems.jsfdict.api.impl;

import de.tsystems.jsfdict.model.Language;
import de.tsystems.jsfdict.model.Word;

import java.util.List;

public interface LanguageDao extends Dao<Language> {
    Class<Language> getEntityClass();
    /**
     * returns language by name
     * @param languageName the name of the language
     * @return Language object
     */
    Language findByName(String languageName);

    List<Word> getWords(Language language);
}
